import 'package:flutter/material.dart';

void main() => runApp(const Echo('echo demo', backgroundColor:Colors.white));

class Echo extends StatelessWidget {
  const Echo(this.text, {this.backgroundColor = Colors.grey, Key? key})
      : super(key: key);

  final String text;
  final Color backgroundColor;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: text,
      home: Center(
        child: Container(
          color: backgroundColor,
          child: Text(text, style: const TextStyle(decoration: TextDecoration.none),),
        ),
      ),
    );
  }
}